#ifndef __FFT_H__
#define __FFT_H__

#include "main.h"


extern float FFT_INPUT[];
extern float FFT_OUTPUT[];
extern unsigned int adc_capture_index;
extern unsigned char adc_capture_flag;

void fft_calc(void);
void thd_calc_init(void);
void fft_average_calc(void);
void thd_calc(void);

#endif



